import request from '@/utils/request'
// js模块化规范：commonJs esm
export const sysLogin = ({ mobile, password }) => request.post('/sys/login', { mobile, password })
// 获取用户基本消息
export const sysProfileRequest = () => request.get('/sys/profile')
// 修改密码
export const userUpdatePassRequest = ({ oldPassword, newPassword }) => request.put('/sys/user/updatePass', { oldPassword, newPassword })
